-
Notifications
You must be signed in to change notification settings - Fork 163
add declarative config for baggage #2031
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
add declarative config for baggage #2031
Conversation
f89cb52
to
507cef9
Compare
@jaydeluca please have a look |
compileOnly("io.opentelemetry:opentelemetry-sdk-common") | ||
compileOnly("io.opentelemetry:opentelemetry-sdk-extension-incubator") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the reason for compileOnly
vs implementation
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the auto configuration is optional - programmatic config should not pull unneeded deps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
import com.google.auto.service.AutoService; | ||
import io.opentelemetry.api.incubator.config.DeclarativeConfigProperties; | ||
import io.opentelemetry.sdk.autoconfigure.spi.internal.ComponentProvider; | ||
import io.opentelemetry.sdk.internal.IncludeExcludePredicate; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add a tracking issue for making this public if we think it's generally useful enough? it's ok for now but trying to slowly reduce our dependency on internal classes (similar to open-telemetry/opentelemetry-java#6970)
Fixes #2013